<template>
	<view class="page-body">
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: ''
			};
		},
		onLoad: function(options) {
			if (this.$Route.query.from == 1) {
				this.url = decodeURIComponent(this.$Route.query.url);
			} else {
				this.url = this.$Route.query.url;
			}
		},
		methods: {}
	};
</script>
<style>

</style>